﻿<dxc:DXWindow x:Class="ThanNhanTao.frmCauHinhHanBHYT"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
        dxc:ThemeManager.ThemeName="Office2007Blue"
        Title="Cấu hình hạn BHYT" WindowStartupLocation="CenterScreen" Height="220" Width="450" 
        KeyDown="DXWindow_KeyDown">
    <dxc:DXWindow.Resources>
        <Style TargetType="Label">
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
        <Style TargetType="dxe:CheckEdit">
            <Setter Property="Margin" Value="2,2" />
            <Setter Property="VerticalAlignment" Value="Center"/>
        </Style>
        <Style TargetType="Button">
            <Setter Property="Margin" Value="1,1" />
        </Style>
    </dxc:DXWindow.Resources>
    <Grid>
        <GroupBox Header="Cấu hình" Height="160" Name="groupBox1">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="28"></RowDefinition>
                    <RowDefinition Height="28"></RowDefinition>
                    <RowDefinition Height="38"></RowDefinition>
                    <RowDefinition Height="28"></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="10"></ColumnDefinition>
                    <ColumnDefinition Width="50"></ColumnDefinition>
                    <ColumnDefinition Width="*"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <dxe:SpinEdit Grid.Column="1" Name="spinEditSoNgay" MinValue="0" Increment="1" EditValue="0" />
                <Label Content=":ngày trước khi hết hạn Bảo Hiểm Y Tế (Thông báo)" HorizontalAlignment="Left" Grid.Column="2" />
                <dxe:CheckEdit Name="chkhienThiCauHinh" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center"></dxe:CheckEdit>
                <Label Content="Hiển thị cấu hình hạn BHYT sau khi đăng nhập vào phần mềm" Grid.Column="2" Grid.Row="1" />
                <dxe:CheckEdit Name="chkhienThiDanhSachBNHetHan" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center"></dxe:CheckEdit>
                <TextBlock Text="Hiển thị danh sách bệnh nhân hết hạn BHYT sau khi đăng nhập" Grid.Column="2" Grid.Row="2" VerticalAlignment="Center" />
                <StackPanel Orientation="Horizontal" Grid.ColumnSpan="5" Grid.Column="2" Grid.Row="4" HorizontalAlignment="Right">
                    <Button Content="_Lưu" Name="btnLuu" Width="80" Click="btnLuu_Click" />
                    <Button Content="Đó_ng" Name="btnDong" Width="80" Click="btnDong_Click" />
                </StackPanel>
            </Grid>
        </GroupBox>
    </Grid>
</dxc:DXWindow>
